﻿@using WebEntities;
@model WI_Experts
@{
    ViewBag.Title = Model.ExpertName+"_专家人物_城市垃圾处理网";
    ViewBag.ClassHead = "head_bg4";
}
<div class="listMain">
    <div class="main_l">
        @Html.Action("CircleMenu", "PublicPartialView", new { miId = (int)ViewBag.MenuItemID })
        @*<div class="CataArea">
            <div class="cata-box">
                <div class="tit">
                    协会会员</div>
                <ul>
                    <li><i>·</i><a href="#">协会简介</a></li>
                    <li><i>·</i><a href="#">协会章程</a></li>
                    <li class="current"><i>·</i><a href="#">专家人物</a></li>
                    <li><i>·</i><a href="#">申请入会</a></li>
                </ul>
            </div>
        </div>
        <div style="height: 180px;">
        </div>*@
       
        @Html.Action("GetExpertRandom", "PublicPartialView")
         @Html.Action("Contact", "PublicPartialView")
    </div>
    <div class="main_r">
        @Html.Action("PageCurrentPath", "PublicPartialView", new { miId = (int)ViewBag.MenuItemID })
        <div class="detailContent">
            <div class="expert-bar">
                <span class="tit">个人资料</span></div>
            <div class="conn-main">
                <div class="conn-l" style="width: 200px; text-align: center;">
                    <img src="@Model.ExpertPic" alt="" width="90px" height="110px" />
                </div>
                <div class="conn-r">
                    <div class="nameMark fl" style="background-color: #2A7650">
                    </div>
                    <div class="pro-name fl">
                        @Model.ExpertName</div>
                    <div class="cls">
                    </div>
                    <table border="0" cellpadding="0" cellspacing="0" class="pro-attr-table" width="100%">
                        <tr>
                            <th>
                                【专家职称】
                            </th>
                            <td>
                                @Model.ExpertJob
                            </td>
                        </tr>
                        <tr>
                            <th>
                                【专家职位】
                            </th>
                            <td>
                                @Model.ExpertPosition
                            </td>
                        </tr>
                        <tr>
                            <th>
                                【研究领域】
                            </th>
                            <td>
                                @if (Model.WI_ExpertCata != null)
                                {
                                    @Model.WI_ExpertCata.ExpertCataName
                                }
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="cls">
                </div>
            </div>
            <div class="expert-bar">
                <span class="tit">个人简介</span></div>
            <div class="conn-main ddx">
                <p>
                    @{ string intro = string.IsNullOrWhiteSpace(Model.Introduction) ? "暂时没有信息内容显示" : Model.Introduction; }
                    @Html.Raw(Server.HtmlDecode(intro))
                </p>
            </div>
            <div class="expert-bar">
                <span class="tit">技能领域</span></div>
            <div class="conn-main ddx">
                <p>
                    @{ string skill = string.IsNullOrWhiteSpace(Model.SkillField) ? "暂时没有信息内容显示" : Model.SkillField; }
                    @Html.Raw(Server.HtmlDecode(skill))
                </p>
            </div>
            <div class="expert-bar">
                <span class="tit">主要成就</span></div>
            <div class="conn-main ddx">
                <p>
                    @{ string achieve = string.IsNullOrWhiteSpace(Model.Achievement) ? "暂时没有信息内容显示" : Model.Achievement; }
                    @Html.Raw(Server.HtmlDecode(achieve))
                </p>
            </div>
            <div class="expert-bar">
                <span class="tit">其他信息</span></div>
            <div class="conn-main ddx">
                <p>
                    @{ string othermsg = string.IsNullOrWhiteSpace(Model.OtherMsg) ? "暂时没有信息内容显示" : Model.OtherMsg; }
                    @Html.Raw(Server.HtmlDecode(othermsg))
                </p>
            </div>
        </div>
    </div>
</div>
@section Scripts {
    <script type="text/javascript">
        $(function () {
            var FBIO = "";
            FBIO = setInterval('FBScroll()', 3000);
            $("#zj-scroll-box").hover(function () {
                clearInterval(FBIO);
            });
            $("#zj-scroll-box").mouseleave(function () {
                FBIO = setInterval('FBScroll()', 3000);
            });
        });
        function FBScroll() {
            var aa = $("#zj-scroll dl:first").height() + 5;
            $("#zj-scroll-box").find("#zj-scroll :first").animate({
                marginTop: -parseInt(aa, 10) + "px"
            }, 1000, function () {
                $(this).css({ marginTop: "0px" }).find("dl:first").appendTo(this);
            });
        } 
    </script>
}
